﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Net.Model.Entities.Enterprises
{
    [SugarTable("AppMenu", TableDescription = "菜单表")]
    public partial class AppMenu: BasicModel
    {
        public AppMenu() { }

        [Display(Name = "菜单Id")]
        [SugarColumn(ColumnDescription = "菜单Id", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public long Id { get; set; }

        [Display(Name = "菜单名称")]
        [SugarColumn(ColumnDescription = "菜单名称", IsNullable = true)]
        public String? MenuName { get; set; }



    }
}
